home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1432.dms / var1432.adf / NDUK-V40.lha / V40 / include / prefs / serial.i < prev    next >
Text File  |  1993-10-15  |  1KB  |  55 lines

  1.     IFND    PREFS_SERIAL_I
  2. PREFS_SERIAL_I    SET    1
  3. **
  4. **    $VER: serial.i 38.2 (10.7.91)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for serial preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. **
  12.  
  13. ;---------------------------------------------------------------------------
  14.  
  15.     IFND EXEC_TYPES_I
  16.     INCLUDE "exec/types.i"
  17.     ENDC
  18.  
  19. ;---------------------------------------------------------------------------
  20.  
  21. ID_SERL equ "SERL"
  22.  
  23.  
  24.    STRUCTURE SerialPrefs,0
  25.     STRUCT sp_Reserved,3*4        ; System reserved
  26.     ULONG  sp_Unit0Map        ; What unit 0 really refers to
  27.     ULONG  sp_BaudRate        ; Baud rate
  28.  
  29.     ULONG  sp_InputBuffer        ; Input buffer: 0 - 16000
  30.     ULONG  sp_OutputBuffer        ; Future: Output: 0 - 16000, def 0
  31.  
  32.     UBYTE  sp_InputHandshake    ; Input handshaking
  33.     UBYTE  sp_OutputHandshake    ; Future: Output handshaking
  34.  
  35.     UBYTE  sp_Parity        ; Parity
  36.     UBYTE  sp_BitsPerChar        ; I/O bits per character
  37.     UBYTE  sp_StopBits        ; Stop bits
  38.    LABEL SerialPrefs_SIZEOF
  39.  
  40. ; constants for SerialPrefs.sp_Parity
  41. PARITY_NONE  equ 0
  42. PARITY_EVEN  equ 1
  43. PARITY_ODD   equ 2
  44. PARITY_MARK  equ 3        ; Future enhancement
  45. PARITY_SPACE equ 4        ; Future enhancement
  46.  
  47. ; constants for SerialPrefs.sp_Input/OutputHandshaking
  48. HSHAKE_XON  equ    0
  49. HSHAKE_RTS  equ    1
  50. HSHAKE_NONE equ    2
  51.  
  52. ;---------------------------------------------------------------------------
  53.  
  54.     ENDC    ; PREFS_SERIAL_I
  55.